package com.ls.fw.office.itext.pdf.test;
import java.io.FileInputStream;
import java.io.IOException;

import com.itextpdf.text.DocumentException;
import com.ls.fw.office.itext.pdf.util.PdfUtil;
 
public class App
{
    public static void main( String[] args ) throws DocumentException, IOException
    {
        PdfUtil.toPdf(new FileInputStream("src/test/resources/index.html"), "src/test/resources/pdf.pdf");
        System.out.println( "PDF Created!" );
    }
}